<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
	  <t:datagrid name="logList" checkbox="false" fitColumns="true" title="设备归还记录" 
	  			  actionUrl="rptDeviceReturnLogController.do?datagrid" idField="id" fit="true" queryMode="group">
		  <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
		  <t:dgCol title="机房id"  field="modleId"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
		  <t:dgCol title="brandId"  field="brandId"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
		  <t:dgCol title="optUserId"  field="optUserId"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
		  <t:dgCol title="returnUserId"  field="returnUserId"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
		  <t:dgCol title="deviceId"  field="deviceId"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
		  
		  <t:dgCol title="操作人"  field="optUserName" hidden="true" query="false" queryMode="single" formatter="yyyy-MM-dd hh:mm" width="120"></t:dgCol>  
		  
		  <t:dgCol title="设备名称" field="deviceName" query="true" queryMode="single" width="120"></t:dgCol>
		  <t:dgCol title="设备编号" field="deviceNo" query="true" queryMode="single"  width="120"></t:dgCol>  
		  <t:dgCol title="品牌" field="brandName" query="false" queryMode="single" width="120"></t:dgCol>
		  <t:dgCol title="型号" field="modelName" query="false" queryMode="single"  width="120"></t:dgCol>  
		  <t:dgCol title="归还人"  field="returnUserName" query="true" queryMode="single"   width="120"></t:dgCol>  
		  <t:dgCol title="归还日期"  field="returnDate" hidden="false" formatter="yyyy-MM-dd" width="120"></t:dgCol>
		  
		  <t:dgToolBar title="excelOutput" icon="icon-putout" funname="ExportXls"></t:dgToolBar>
	  </t:datagrid>
  </div>
</div>
<script type="text/javascript"> 
	//导出
	function ExportXls() {
		JeecgExcelExport("rptDeviceReturnLogController.do?exportLogXls","logList");
	} 
	
</script>